package scut.kent.shopping.model;

import java.util.Date;
import java.util.List;

public class Comment {
	int id;
	int item_id;
	int user_id;
	int grade;
	String content;
	Date create_time;
	List<Reply> replys;
	public Comment(int id, int item_id, int user_id, int grade, String content,
			Date create_time) {
		super();
		this.id = id;
		this.item_id = item_id;
		this.user_id = user_id;
		this.grade = grade;
		this.content = content;
		this.create_time = create_time;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getItem_id() {
		return item_id;
	}
	public void setItem_id(int item_id) {
		this.item_id = item_id;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public int getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public List<Reply> getReplys() {
		return replys;
	}
	public void setReplys(List<Reply> replys) {
		this.replys = replys;
	}
}
